<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Iniuriam: /home/etu/v/p1115890/LIF7/EncoreUn/iniuriam/src/capacite.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Iniuriam
   &#160;<span id="projectnumber">alpha 1</span>
   </div>
   <div id="projectbrief"> RPG futuriste</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="headertitle">
<div class="title">/home/etu/v/p1115890/LIF7/EncoreUn/iniuriam/src/capacite.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="capacite_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef __capacite_h__</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define __capacite_h__</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &lt;assert.h&gt;</span>
<a name="l00005"></a>00005 <span class="preprocessor">#include &lt;string.h&gt;</span>
<a name="l00006"></a>00006 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
<a name="l00007"></a>00007 <span class="preprocessor">#include &lt;stdlib.h&gt;</span>
<a name="l00008"></a>00008 <span class="preprocessor">#include &quot;<a class="code" href="competence_8h.html">competence.h</a>&quot;</span>
<a name="l00009"></a>00009 
<a name="l00010"></a>00010 
<a name="l00015"></a><a class="code" href="structCapacite.html">00015</a> <span class="keyword">typedef</span> <span class="keyword">struct</span>
<a name="l00016"></a>00016 {
<a name="l00017"></a><a class="code" href="structCapacite.html#a5920ecb344a8b6714916494738543a8c">00017</a>     <a class="code" href="structCompetence.html">Competence</a> *<a class="code" href="structCapacite.html#a5920ecb344a8b6714916494738543a8c">comp</a>;   
<a name="l00018"></a><a class="code" href="structCapacite.html#acf666d4854aa8cb80bb4042b1eed67f9">00018</a>     <span class="keywordtype">int</span> <a class="code" href="structCapacite.html#acf666d4854aa8cb80bb4042b1eed67f9">nbCompetence</a>;   
<a name="l00019"></a><a class="code" href="structCapacite.html#ab1b9571e8eb62a76a6086d073aee21b5">00019</a>     <span class="keywordtype">int</span> <a class="code" href="structCapacite.html#ab1b9571e8eb62a76a6086d073aee21b5">quantite</a>;       
<a name="l00020"></a>00020 } <a class="code" href="structCapacite.html">Capacite</a>;
<a name="l00021"></a>00021 
<a name="l00022"></a>00022 
<a name="l00027"></a>00027 <span class="keywordtype">void</span> <a class="code" href="capacite_8c.html#a77846c41c62aeee63b9b71a0821ce146" title="Preconditions : capacite n&#39;est pas initialisée   Postconditions : capacite est initialisée.">capaciteInit</a> (<a class="code" href="structCapacite.html">Capacite</a>* capacite);
<a name="l00028"></a>00028 
<a name="l00029"></a>00029 
<a name="l00034"></a>00034 <span class="keywordtype">void</span> <a class="code" href="capacite_8c.html#aa0ee2921e4ba5cabf299f37d25fc6cd6" title="Preconditions : capacite est initialisé   Postconditions : capacite est libéré">capaciteLibere</a> (<a class="code" href="structCapacite.html">Capacite</a>* capacite);
<a name="l00035"></a>00035 
<a name="l00036"></a>00036 
<a name="l00041"></a>00041 <span class="keywordtype">void</span> <a class="code" href="capacite_8c.html#ab84db4df4685b80d8738c6cc36326ef5" title="Preconditions : capacite est initialisé   Postconditions : la compétence comp est ajoutée à capacité ...">ajouterCompetenceCapacite</a> (<a class="code" href="structCapacite.html">Capacite</a>* capacite, <span class="keyword">const</span> <a class="code" href="structCompetence.html">Competence</a>* comp, <span class="keyword">const</span> <span class="keywordtype">int</span> exp);
<a name="l00042"></a>00042 
<a name="l00047"></a>00047 <span class="keywordtype">void</span> <a class="code" href="capacite_8c.html#a9d8f92fa22b3b5c577b9d2d454974215" title="Preconditions : capacite1 est initialisée ; capacite2 aussi   Postconditions : capacite2 est réinitia...">copieCapacite</a>(<span class="keyword">const</span> <a class="code" href="structCapacite.html">Capacite</a>* capacite1, <a class="code" href="structCapacite.html">Capacite</a>* capacite2);
<a name="l00048"></a>00048 
<a name="l00053"></a>00053 <span class="keywordtype">int</span> <a class="code" href="capacite_8c.html#add6d638fa01c6b68e548d755dacc7c28" title="Preconditions : capacite est initialisé   Postconditions : Recherche si la compétence type est dans c...">chercherCompetence</a> (<span class="keyword">const</span> <a class="code" href="structCapacite.html">Capacite</a>* capacite, <span class="keyword">const</span> <span class="keywordtype">int</span> type);
<a name="l00054"></a>00054 
<a name="l00059"></a>00059 <a class="code" href="structCompetence.html">Competence</a>* <a class="code" href="capacite_8c.html#aaf29da2c707ec7bdafd3412b664d90d1" title="Preconditions : capacite est initialisé   Postconditions : retourne la ième compétence de capacité...">getCompetence</a> (<span class="keyword">const</span> <a class="code" href="structCapacite.html">Capacite</a>* capacite, <span class="keyword">const</span> <span class="keywordtype">int</span> i);
<a name="l00060"></a>00060 
<a name="l00065"></a>00065 <span class="keywordtype">int</span> <a class="code" href="capacite_8c.html#aee5f559d8efb1e197090c259fe6c79f5" title="Preconditions : capacite est initialisé   Postconditions : retourne la quantite de capacité...">getCapaciteQuantite</a>(<span class="keyword">const</span> <a class="code" href="structCapacite.html">Capacite</a>* capacite);
<a name="l00066"></a>00066 
<a name="l00071"></a>00071 <span class="keywordtype">int</span> <a class="code" href="capacite_8c.html#aa0843b370657c22bdfa7f55654b633ea" title="Preconditions : capacite est initialisé   Postconditions : retourne la quantite de capacité...">getCapaciteNbCompetence</a>(<span class="keyword">const</span> <a class="code" href="structCapacite.html">Capacite</a>* capacite);
<a name="l00072"></a>00072 
<a name="l00073"></a>00073 
<a name="l00078"></a>00078 <span class="keywordtype">int</span> <a class="code" href="capacite_8c.html#a498aeecb2bfb5e49624f6fd67842ebdf" title="Preconditions : /   Postconditions : teste les fonctions du module Competence.">mainCapacite</a>();
<a name="l00079"></a>00079 
<a name="l00080"></a>00080 <span class="preprocessor">#endif</span>
</pre></div></div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Tue Jun 4 2013 08:45:33 for Iniuriam by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
